﻿using Simple.Tools.Map.Check;
using System;
using System.Collections.Generic;
using System.Text;

namespace Simple.Tools
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	/// <summary>
	/// 
	/// </summary>
	public static class SimpleInitialize
	{

		private  static Int32CheckType checkType;
		/// <summary>
		/// 
		/// </summary>
		static SimpleInitialize()
		{
			InitalizeCheckType();
		}

		/// <summary>
		/// 
		/// </summary>
		private static void InitalizeCheckType()
		{
			TimeCheckType timeCheckType = new TimeCheckType();
			DecimalCheckType decimalCheckType = new DecimalCheckType(timeCheckType);
			DoubleCheckType doubleCheckType = new DoubleCheckType(decimalCheckType);
			FloatCheckType floatCheckType = new FloatCheckType(doubleCheckType);
			DateTimeCheckType dateTimeCheckType = new DateTimeCheckType(floatCheckType);
			LongCheckType longCheckType = new LongCheckType(dateTimeCheckType);
			GuidCheckType guidCheckType = new GuidCheckType(longCheckType);
			StringCheckType stringCheckType = new StringCheckType(guidCheckType);
			ShortCheckType shortCheckType = new ShortCheckType(stringCheckType);
			ByteCheckType byteCheckType = new ByteCheckType(shortCheckType);
			BoolCheckType boolCheckType = new BoolCheckType(byteCheckType);
			EnumCheckType menuCheckType = new EnumCheckType(boolCheckType);
			checkType = new Int32CheckType(menuCheckType);
		}
		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		public static BaseCheckType GetCheckType()
		{
			return checkType;
		}

	}
}
